<!DOCTYPE html>
<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->
<div class="device-bg login">
    <div class="container-fluid">
        <!-- /.row -->
        <div class="row">
            <div class="device-item-title item-font title-bg"><div class="device-title-txt">服务车定位</div><div class="right-triangle"></div></div>
        </div>
        <div class="row" ng-if="userType === 3">
            <div class="col-xs-6 device-item-container">
                <a href="" ng-click="startLocationTask()">
                    <div class="background tlr-item">
                        <div class="tlr-icon2-position"></div>
                        <div style="padding-top:5px;" class="item-font">{{trackStatus}}</div>
                    </div>
                </a>
            </div>
            <div class="col-xs-6 device-item-container">
                <div class="background tlr-item">
                    <div class="tlr-icon2-service"></div>
                    <div style="display:block;padding-top:5px;">
                        <select ng-model="serviceStatus.value" ng-change="setServiceStatus()">
                            <option value="1">服务中</option>
                            <option value="2">等待服务</option>
                            <option value="3">停止服务</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container">
                <a href="">
                    <div class="background tlr-item">
                        <div id="pos-map-container"></div>
                    </div>
                </a>
            </div>
        </div>
        <div class="row pos-map-tip" ng-if="!healthDevices">
            <div class="col-sm-12">
                <div style="vertical-align:middle; text-align:center;">
                    <div class="pos-map-tip-font tip-item tip-item-1">{{positionUpdateMsg}}</div>
                </div>
            </div>
        </div>
        <!-- /.row -->
    </div>
</div>
